package com.gsezone.s12.model;

public class User {

	private Long id;
	private String name;

	public User(Long id, String name) {
		setName(name);
		setId(id);
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "My name is " + getName();
	}

}
